home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-22 | 1.1 KB | 34 lines | [TEXT/GEOL] |
- Item 5193218 26-July-89 02:01
-
- From: D2215 Dac SW, Wilma Blair, PRT
-
- To: MACAPP.TEST MacApp SQA Team
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: ViewEdit bug 1.0b1
-
- I would be willing to bet that the ViewEdit bug is the one I reported with
- InstallEditText. If the currently selected field has an fMaxChars of 4 and you
- attempt to select a field with fMaxChars > 4 then you will crash as SetText
- calls StuffText which has a new check for "If textLength > fMaxChars THEN
- Failure (minErr, 0);"
-
- This is the offending code in TDialogTeView.InstallEditText:
-
- fMaxChars := theEditText.fMaxChars; { *** moved to here from below **** }
- SetText(theText); {fMaxChars must already be set}
- RecalcText;
- IF selectChars THEN SetSelect(0, MAXINT, fHTE) ELSE SetSelect(0, 0,
- fHTE);
- {fMaxChars := theEditText.fMaxChars; *** removed **** }
-
- To use ViewEdit in its current form, you cannot go from an IDType to a larger
- field without crashing.
-
- How about an updated ViewEdit in Stuffit format?
-
- Regards, Les Caudle
-
-
-